<?php
    Atomik::needed("propel");
    $querie = TabAdminQuery::create()->filterByLogin($_SESSION["admin_login"])->findOne();
    if($querie->getFkDroit()!=1){
        Atomik::redirect("?");
    }
    $station = TabStationQuery::create()->filterByIdStation($_GET["id"])->findOne();
    $infostation = TabInformationStationQuery::create()->filterByFkStation($_GET["id"])->orderByLastUpdate(Criteria::DESC)->findOne();
?>
